Works to upgrade a ‘crucial’ cycle link in Edinburgh’s city centre have been completed after longstanding flooding issues in the area.