called SaveDetails method