Fixed metadata update on wpdb-move