Merge branch 'release-0.5.1'
Added the patterns and updated update to work correctly.
Version bumped from 0.5.1 to 0.5.2
Merge branch 'release-0.5.2'