admin functions update