Updating endpoints for OpenLayers widget