update second pyramid