update to restful framework