user edit update and tests