Updating state with deploy script