updated model to have general db_port