updating last changes and ending work session