inserted database-handling