Update connection.c