functionality to update account completed