Fixed Update function

Removed code referencing non-existent Update button in refresh() function.