price calculate pattern updates