Update deploy method