Updated test and readme.md to call update() method with correct parameters.