Updating api to v3

still need to see what else have change