added support to run updates and inserts
updated the readme and corrected the function name to match the event