fix updatedAt instead of createdAt