commit last controller & model