change database and updated view form search advanced