Storing last value on redis