update Prewitt, change color byte direction