Updated location of pattern and ball