shapes definition update