fixes for updating confidence