add edit to string and hash