Update functions lib.