load records from db