added channel visible and active attributes, updated api