add default value
set category value before edit