Update ()

- tries to optimize painting