updated lastdet/lastsnap commands