update to content.php and functions.php