php update file for the new db upgrade system