update to resume and main