change contents to the current one