update slug field if blank or changed