update deploy code