updated admin part for adding