updated pan and gain