added deploy + update functions