added label creation, updating and deletion to the class