hateoas edit