updated to latest server api