sync and update project 2010 columns in sharepoint through code

hello,

how can i sync and update columns in project 2010 and sharepoint 2010 through code ?

thanks