Update Handling from JS