resolved problems in updating events and profiles
resolved the search bar problem in index page