Added Update account function