Add update setting API REST endpoint
Cleanup