Points are inserted into db.