Add update_n to SourceFile.pm

Signed-off-by: anton <haglundanton+github@gmail.com>