update handelbars last register helper to handle empty checkpoints