Update Models lib and $wpdb_allow_null