insert method can accept now dictionary or model