change almd_db to almdtables