specify allowed methods header
fix updating the model