updating model and parse