update display param function