update function
add an event to the update function
| Parameter | Type | Description |
|---|---|---|
| canvas | String | id of canvas to add event to update function |
| id | String | unique id of the update event |
| event | Function | event to add to update function |
remove an event from the update function
| Parameter | Type | Description |
|---|---|---|
| canvas | String | id4 of canvas to remove event from update function |
| id4 | String | id4 of the update event |