making update required so that is optimizes drawing