update genlock from villec2