editing items now working