change addPostField to setPostField

seems that addPostField is or was deprecated?