Updated database templates for custom pages