added edit item support
added edit item support