Added order changing funcions in the api