changing api controller