finish the categoy and label insert opration