Update compile and smf definition