Added update by id on model and controller