}//TESTED
//else if api key is null then leave alone, assume hasn't changed
//update old entries
DbManager.getSocial().getPerson().update(new BasicDBObject("_id", pp.get_id()), pp.toDb());
DbManager.getSocial().getAuthentication().update(authQuery.toDb(), ap.toDb());
rp.setResponse(new ResponseObject("WP Update User",true,"User Updated Successfully"));
rp.setData(ap, new AuthenticationPojoApiMap());
//update communities if necessary
if (bNeedToUpdateCommunities)