Fix updateCase condition #512
Merge branch 'master' into new-case-screen