adds new record to database on level creation