change deploy mode