Added the missing install command to the update task
Fixes #1518
Added update test cases