update for wp3.9 and add copyrights
update for wp3.9 and add copyrights