updated params in view in order to update properly.