Updating api constraints