load amf configuration from database