added code for calling backend update account function in edit selected account page