update obsoleted snippet