Update cache_extensions sql