updating with move code