Updating document with general function breakdowns