update variables to come from WP database