updated lib to head