update specs and render calls in api controller