Update deploy routine