improved search, fixed mod update and made replace results better