search fixed
updated the database