AFIS has an in-memory database where all templates are cached. This in-memory cache is necessary to achieve high identification performance. AFIS is able to keep this cache synchronized with database tables as far as all database updates are done through the official AFIS API.  

If you really need to bypass AFIS and update tables directly, please tell me more about what you are trying to achieve and I will try to find a solution for you.