Database.scala update