Rough update detection functions.
code cleanup and improved search with patterns
rename project to lauri