changed db def