Investigation of the second and third resonances by eta-photoproduction