Update REST function for stitches controller, include PUT