fix save and save! when embedded has changed before save