Updating for the new sdk version