add forgotten methods for modified flag