updated admin methiod