update attributes of Quiz answers trigger