fixed syntax error in updater api