Updating wordpress template and class with default settings