saving recent changes