add ability to edit entity via POST and giving ID