Organize and some more writing about updating with function