move update_manifest to the very last possible action in deploy