Change deploy_plugin api