updating cacheSolve