Update cache_extensions sql for 6.x