Update rt-template-functions.php