Fix update latest

update_latest trigger now only inserts if module is really latest