adjusting deploy and some API calls