channel refresh function added