added update_file, and now contents will have the correct sha from githubs response