updating entities
creating databaseaccess-methods