Update mailcore