added update account backend code, not yet tested