updates to drawing states