Added support for editing items

Added support for editing items