gallery modal update