change princip search in DB