Update functions

Empty functions are not allowed in bash