updated editor for slug editing