added edit button on view page