updating shapes