update function name fixes #1