adjustment to restful interface and corresponding models