functionality for changing names