added redis publishing