Update cur.c