Added a wrapper for updating wordpress