updating refer plugin