Finally got the auto update diff working. Sometimes I miss PHP.