rejig (jig + re-): To rearrange or tweak (something), especially in order to improve it or make it suitable for some purpose