Update functions.d