db updated - should be linked to the type