added mode-changing api calls
added head up/down API calls