Added possiblity to update the Rack state

NOTE: This patch will not allow to set the Rack state
when creating a new Rack. The Rack must exists in order to update the state.