make sure to return the created object on posts