add a slug to an entry