change status from 200 to 201 on successful creation