add defines
update spec