added --update and --reinstall options to relay deploy command