Add editing recources, update restapi