onUpdate added for direct accessibility