update Shape (protected variables)