changing the deploy method