Changing updated variables to updatedAt