Added label and made minor changes database