upgrade rails
 add search function