fixed storing edited items