save channels to db