redis use get_commands to redefine functions