change redis api