Forbid change set_state in a PUT operation (#490)