added new_deployment endpoint