update shape analysis