Update bresenham