updated database records and database tables in alans_flow