Update database definition