update global ignore and snippet