API Attribute ID after Database Refresh