added edit key for main activity, edit fails to update the item