Completed skeleton to update statistics on robot