change redis save functions for file and blog