Set paramaters to save into database