Added endpoint for changing the state of an asset
The lifecycle view uses new api to change states