Giants star signs contract extension