Update osmc code