Improved coupon constructor and added 'update' function
Added POST and PUT