set new entity on POST