update default library functions