creating a record attempting to update it shortly after causes error - Prisma