update ql model in server code