update goals and do-end block is completed!