Changed update method to POST because HTML forms are idiots
Added update function, refactored common functionality out of the get action
Added create functionality