renamed cgi to update, to avoid confusion with User.py