Fixed bugs of easyUpdate and using regex (+ additional tests)