Add ability for commit function to take in new value for efficiency