move php update queries