Update ports.c