removed channel_index from db and added all db updates for chatroom