multiple updates
fixed logging error in database class