update and archive