fixed typo causing update loop to be to increment in tiny steps