changes to the UI refresh method, and getValues