Fix for updating the workflow of an object