Changes api controller of machine