Automatic fill of database