added slug attribute to db