updating success conditions