changing deploy method