image drawing is updated