update code before a manifest deploy