Update genlock.c