init object & update contains function of list