Implemented pass parameters saving to database.