update controller

update controller to use longpang database