Rectangle primitive update