Fix legacy db slug update