Review of recent heavy flavor measurements in STAR