updated search/working on hibernate