update iOS drawing