added save edited flag