added new features to save new host