Extract methods on update_item and update_package
Update style guide, files and code pruning