update lapply lesson