update to handle returning old version from put() function in JS and functional rm...