invalidate now refresh the layer