revered back operator. Moved update to ajax response as not to run on fresh load