change type content in db