updating with the contents