thanks Patrick,
I actually just found the answer. Libraries are like lists can be updated with CAML with one exception, only those columns can be updated which are not bound to Infopath fields. In other words if you create a library by publishing Infopath form, then you'll need to go to Sharepoint and add extra columns to the library and only those columns will be updateable with CAML