added dependencies functions to admin