Added variables store to database and js function to updateWP user settings