updating success conditions and casing