update to work with wp 3.8