added function_exists checks to prevent fatal errors when updating ACF