fix update item and register user