Update model and coltroller