update inSquare animation