refactor userdao update statement