modified edit and delete buttons