added edit view and links