added missing arg in update()
Merge pull request #20 from jaypoulz/max3

added missing arg in update()