Added an updateAction to our global js in order to facilitate action with updatable returns