Correct replaced store 'update' func's context