updates slug check db if exists