apply new deploy method