partial update to update.c