The two factors I see is, can you use the changes as a feature to other customers. If so, I personally would consider doing it at a discounted rate. If it is a total one off then I personally would charge time and materials at the prevailing rate for a freelancer. If he wants a lump sum amount well then you need to master the art of figuring out the maximum amount you can charge for something.