update do snippet