added edit delete buttons to paps