fixed saving parameters after "update" command