Diphoton excess at the LHC Run 2 and its implications for a new heavy gauge boson