updated to see how update works