def update
    @study=Study.find(params[:id])

    @study.attributes = params[:study]