Update call gallery function