Fixed config update endpoint and added more HTTP error types