updates some code in Bot and User to use new interfaces