Used setModified instead of save