using post instead of put for update so to pass params