updated the label format documentation and added a label_handler implementation