#18 save / update + refector de restful