change params to props and update version