remove create and delete,add pending condition to records shown