Migrate Update to Pundit

Related to #39 and #46.