fixed color. updating homography matrix