updating additional Q function