Added tracking for weight increment and condensed edit_entry with add_entry to remove redundancy.