Altered the update() method. It no longer takes in a useless parameter.