Update database.coffee