update defines