updates models