change params and add before action