add "update sourcename function"