I am working on a Drupal 7 custom module and would like to update a field on a node after hitting save. Based on some post that I have seen this should be possible.
As it is now I have the $node object is a parameter to the node_submit hook after hitting save.
However, I am not able to update my field on this node object. Any pointers or examples of how to do this would be greatly appreciated.