previously, update options was reset before updateUI was called, and upateoptions wasn't passed as a param. Is there a reason it's being reset/passed in?