set type and add options on notifications