Traffic lights at a busy Greenock junction are to be upgraded over the coming months.