added api for redis widget