chaing drawpath for rgb
updating frontend for rgb drawpath
merge conflict