add edit and delete for items