code to change headers of categories