update for wp 4.0