made put change locally before sending changes via socket