save the currrent version before making changes