modify draw config