added cms functionality via update.php