adding all paramaters to db using params