Update ref commands