Update data structures

Initialize some data structures using during this part