updates aliases and function