Fixed bug in update_tags where only java files were being considered