add 204 result
add before_insert method