modify config and update sinppets